package DTO

// CreateArticleRequest 新增文章的结构
type CreateArticleRequest struct {
	Draft     bool   `json:"draft"`
	Title     string `json:"title" binding:"required"`
	Content   string `json:"content" binding:"required"`
	CoverType int    `json:"coverType"`
	CoverURL  string `json:"coverURL"`
	ChannelID uint   `json:"channelID" binding:"required"`
	AuthorID  uint   `json:"authorID"`
}
